package com.etc.entity;

import java.util.Date;

public class AnsMessage {

	private int id;
	private String username,title,type,content;
	private Date date;
	private String status;
	private int ansid;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public int getAnsid() {
		return ansid;
	}
	public void setAnsid(int ansid) {
		this.ansid = ansid;
	}
	
	//CURRENT_TIMESTAMP()
	public AnsMessage() {}
	public AnsMessage(String a,String b,String c,String d,Date e,String f,int g)
	{
		username=a;
		title=b;
		type=c;
		content=d;
		date=e;
		status=f;
		ansid=g;
	}
}
